<?php 
declare (strict_types = 1);
namespace app\api\controller;
use app\common\controller\Api;
use think\Request;
class Screen extends Api
{
    public function index()
    {
        $data = $this->model->where('p_id',0)->with('p_screen')->select()->toArray();
        return datasuccess($data);
    }
}